/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.score.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.fosung.frame.common.persistence.Page;
import com.fosung.frame.common.service.CrudService;
import com.fosung.frame.modules.score.dao.PersonScoreDetailDao;
import com.fosung.frame.modules.score.entity.PersonScoreDetail;

/**
 * 党员积分内容明细Service
 * @author ygl
 * @version 2017-09-03
 */
@Service
@Transactional(readOnly = true)
public class PersonScoreDetailService extends CrudService<PersonScoreDetailDao, PersonScoreDetail> {
	@Autowired
	private PersonScoreDetailDao personScoreDetailDao;
	public PersonScoreDetail get(String id) {
		return super.get(id);
	}
	public PersonScoreDetail getSqcs(PersonScoreDetail personScoreDetail) {
		return personScoreDetailDao.getSqcs(personScoreDetail);
	}
	public List<PersonScoreDetail> findList(PersonScoreDetail personScoreDetail) {
		return super.findList(personScoreDetail);
	}
	
	public Page<PersonScoreDetail> findPage(Page<PersonScoreDetail> page, PersonScoreDetail personScoreDetail) {
		return super.findPage(page, personScoreDetail);
	}
	
	@Transactional(readOnly = false)
	public void save(PersonScoreDetail personScoreDetail) {
		super.save(personScoreDetail);
	}
	
	@Transactional(readOnly = false)
	public void delete(PersonScoreDetail personScoreDetail) {
		super.delete(personScoreDetail);
	}
	
}